<template>
    <van-nav-bar 
        :title="title"
        :left-text="leftText"
        left-arrow
    />
</template>

<script>
export default {
props:{
    title:{
        type:String,
        require:true,
        default:"标题"
    },
    leftText:{
        type:String
    }
}
}
</script>

<style lang="less" scoped>
/deep/ .van-icon {
    font-size: 18px;
}
/deep/ .van-nav-bar__left {
    font-size: 18px;
}
/deep/ .van-nav-bar__title{
    font-size: 18px;
}
/deep/.van-nav-bar__title{
    color: #26a2ff;
}
</style>